FROM mindie:2.0.T3.1-800I-A2-py311-openeuler24.03-lts

WORKDIR /usr/local/Ascend/mindie/latest/mindie-service/conf
COPY ./config.json /usr/local/Ascend/mindie/latest/mindie-service/conf/config.json
RUN chmod 640 /usr/local/Ascend/mindie/latest/mindie-service/conf/config.json
COPY ./tini-arm64 /tini
WORKDIR /usr/local/Ascend/mindie/latest/mindie-service/bin
RUN chmod +x /tini
#CMD ["/usr/bin/bash"]
ENTRYPOINT ["/tini", "--"]
CMD [ "/usr/local/Ascend/mindie/latest/mindie-service/bin/mindieservice_daemon" ]
